<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>按门店屏蔽物流</title>
    <link rel="shortcut icon" href="favicon.ico">
    <script src="../../res/js/comm.js"></script>
    <link href="../../res../res/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">

</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="panel panel-info">
        <div class="panel-heading"><i class="fa fa-info-circle"></i> 按门店屏蔽物流</div>
        <div class="panel-body">
              <div class="ibox-query">
                <form id="queryForm" method="post" class="form-horizontal">
                    <div class="form-group">
                        <label class="col-md-1 control-label">门店编码</label>
                        <div class="col-sm-2"><input name="storeCode" class="form-control" type="text" value=""></div>
                        <button style="margin-left: 100px;" class="btn btn-info" onclick='$.openx.query()' type="button"><i class="glyphicon glyphicon-search"></i> 查询</button>
                    </div>
                    <div class="hr-line-dashed"></div>
                </form>
            </div>

            <div class="row row-lg">
                <div class="col-sm-12">
                    <div id="partnerbar"></div>
                    <table id="table">
                        <thead>
                            <tr>
                                <th data-field="stats" data-checkbox="true"></th>
                                <th data-align="center" data-field="storeCode">门店编码</th>
                                <th data-align="center" data-field="deliveryName">屏蔽的物流公司名称</th>
                                <th data-align="center" data-field="deliveryPartnerCode">屏蔽的物流公司编码</th>
                                <th data-align="center" data-field="createTime" data-formatter="formatterDate">创建时间</th>
                                <th data-align="center" data-formatter="formatterRemark">备注</th>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<!--新增物流界面-->
<script type="text/html" id="partnerformtpl">
    <form class="form-horizontal" id="partnerform">
        <div class="col-md-12" style="width: 500px;margin-top: 20px">
            <input name="id" id="id" class="form-control"   type="hidden" value="{{!d.id ? '':d.id}}">
            <div class="form-group">
                <label class="col-sm-4 control-label"><font color="red">* </font>门店编码：</label>
                <div class="col-sm-8">
                    <input name="storeCode" id="storeCode" class="form-control" placeholder="门店编码"   {{!d.storeCode ? '':'readonly'}}  type="text" title="必填字段" required="true" value="{{!d.storeCode ? '':d.storeCode}}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-4 control-label">不支持物流：</label>
                <div class="col-sm-8">
                   {{d.partnerStr}}
                </div>
            </div>
        </div>
    </form>
</script>


</body>
</html>
<script type="text/javascript">
    (function () {
     $.openx.loadScript(['../../js/logistics/partnerShield.js']);
    })();
</script>


